PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Fractal / Nested Dancer / fenching nz+.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=2 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=0.535 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=-0.480 |
| 29 | fModWaveAlphaStart=1.000 |
| 30 | fModWaveAlphaEnd=1.100 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=0.107 |
| 33 | fZoomExponent=0.33077 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99010 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.005 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=1.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=1.000 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=6.400 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.500 |
| 62 | mv_dy=0.500 |
| 63 | mv_l=5.000 |
| 64 | mv_r=0.014 |
| 65 | mv_g=0.872 |
| 66 | mv_b=0.522 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wavecode_1_enabled=0 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=1.00000 |
| 96 | wavecode_1_smoothing=0.50000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wavecode_2_enabled=0 |
| 102 | wavecode_2_samples=512 |
| 103 | wavecode_2_sep=0 |
| 104 | wavecode_2_bSpectrum=0 |
| 105 | wavecode_2_bUseDots=0 |
| 106 | wavecode_2_bDrawThick=0 |
| 107 | wavecode_2_bAdditive=0 |
| 108 | wavecode_2_scaling=1.00000 |
| 109 | wavecode_2_smoothing=0.50000 |
| 110 | wavecode_2_r=1.000 |
| 111 | wavecode_2_g=1.000 |
| 112 | wavecode_2_b=1.000 |
| 113 | wavecode_2_a=1.000 |
| 114 | wavecode_3_enabled=0 |
| 115 | wavecode_3_samples=512 |
| 116 | wavecode_3_sep=0 |
| 117 | wavecode_3_bSpectrum=0 |
| 118 | wavecode_3_bUseDots=0 |
| 119 | wavecode_3_bDrawThick=0 |
| 120 | wavecode_3_bAdditive=0 |
| 121 | wavecode_3_scaling=1.00000 |
| 122 | wavecode_3_smoothing=0.50000 |
| 123 | wavecode_3_r=1.000 |
| 124 | wavecode_3_g=1.000 |
| 125 | wavecode_3_b=1.000 |
| 126 | wavecode_3_a=1.000 |
| 127 | shapecode_0_enabled=1 |
| 128 | shapecode_0_sides=4 |
| 129 | shapecode_0_additive=0 |
| 130 | shapecode_0_thickOutline=1 |
| 131 | shapecode_0_textured=1 |
| 132 | shapecode_0_num_inst=1 |
| 133 | shapecode_0_x=0.500 |
| 134 | shapecode_0_y=0.500 |
| 135 | shapecode_0_rad=0.74630 |
| 136 | shapecode_0_ang=0.00000 |
| 137 | shapecode_0_tex_ang=0.00000 |
| 138 | shapecode_0_tex_zoom=0.94204 |
| 139 | shapecode_0_r=1.000 |
| 140 | shapecode_0_g=1.000 |
| 141 | shapecode_0_b=1.000 |
| 142 | shapecode_0_a=1.000 |
| 143 | shapecode_0_r2=1.000 |
| 144 | shapecode_0_g2=1.000 |
| 145 | shapecode_0_b2=1.000 |
| 146 | shapecode_0_a2=1.000 |
| 147 | shapecode_0_border_r=0.000 |
| 148 | shapecode_0_border_g=0.000 |
| 149 | shapecode_0_border_b=0.000 |
| 150 | shapecode_0_border_a=0.000 |
| 151 | shape_0_per_frame1=ang=sin(time)*.5+.5; |
| 152 | shape_0_per_frame2=val=3; |
| 153 | shape_0_per_frame3=a2=val*.33; |
| 154 | shape_0_per_frame4=a=val*.33; |
| 155 | shape_0_per_frame5=rad=cos(time*.3)*.4+0.65; |
| 156 | shape_0_per_frame6=x=sin(time*.25)*.25+.5; |
| 157 | shape_0_per_frame7=y=cos(time*.45)*.25+.5; |
| 158 | shape_0_per_frame8= |
| 159 | shape_0_per_frame9= |
| 160 | shape_0_per_frame10= |
| 161 | shapecode_1_enabled=1 |
| 162 | shapecode_1_sides=4 |
| 163 | shapecode_1_additive=0 |
| 164 | shapecode_1_thickOutline=1 |
| 165 | shapecode_1_textured=1 |
| 166 | shapecode_1_num_inst=1 |
| 167 | shapecode_1_x=0.500 |
| 168 | shapecode_1_y=0.500 |
| 169 | shapecode_1_rad=0.74630 |
| 170 | shapecode_1_ang=0.00000 |
| 171 | shapecode_1_tex_ang=0.00000 |
| 172 | shapecode_1_tex_zoom=0.94204 |
| 173 | shapecode_1_r=1.000 |
| 174 | shapecode_1_g=1.000 |
| 175 | shapecode_1_b=1.000 |
| 176 | shapecode_1_a=1.000 |
| 177 | shapecode_1_r2=1.000 |
| 178 | shapecode_1_g2=1.000 |
| 179 | shapecode_1_b2=1.000 |
| 180 | shapecode_1_a2=1.000 |
| 181 | shapecode_1_border_r=0.000 |
| 182 | shapecode_1_border_g=0.000 |
| 183 | shapecode_1_border_b=0.000 |
| 184 | shapecode_1_border_a=0.000 |
| 185 | shape_1_per_frame1=ang=cos(time*.3)*.5+.5; |
| 186 | shape_1_per_frame2=val=3; |
| 187 | shape_1_per_frame3=a2=val*.33; |
| 188 | shape_1_per_frame4=a=val*.33; |
| 189 | shape_1_per_frame5=rad=sin(time*.3)*.4+0.65; |
| 190 | shape_1_per_frame6=x=cos(time*.25)*.25+.5; |
| 191 | shape_1_per_frame7=y=sin(time*.45)*.25+.5; |
| 192 | shape_1_per_frame8= |
| 193 | shape_1_per_frame9= |
| 194 | shape_1_per_frame10= |
| 195 | shapecode_2_enabled=1 |
| 196 | shapecode_2_sides=4 |
| 197 | shapecode_2_additive=0 |
| 198 | shapecode_2_thickOutline=1 |
| 199 | shapecode_2_textured=0 |
| 200 | shapecode_2_num_inst=1 |
| 201 | shapecode_2_x=0.500 |
| 202 | shapecode_2_y=0.500 |
| 203 | shapecode_2_rad=0.36456 |
| 204 | shapecode_2_ang=0.00000 |
| 205 | shapecode_2_tex_ang=0.00000 |
| 206 | shapecode_2_tex_zoom=1.00000 |
| 207 | shapecode_2_r=0.000 |
| 208 | shapecode_2_g=0.000 |
| 209 | shapecode_2_b=0.000 |
| 210 | shapecode_2_a=1.000 |
| 211 | shapecode_2_r2=0.000 |
| 212 | shapecode_2_g2=0.000 |
| 213 | shapecode_2_b2=0.000 |
| 214 | shapecode_2_a2=1.000 |
| 215 | shapecode_2_border_r=0.000 |
| 216 | shapecode_2_border_g=0.000 |
| 217 | shapecode_2_border_b=0.000 |
| 218 | shapecode_2_border_a=0.000 |
| 219 | shape_2_per_frame1= |
| 220 | shape_2_per_frame2=h2=h2+(above(treb,1.32)*0.8)*.9; |
| 221 | shape_2_per_frame3=vr=sin(h2*.8)*.5+.5; |
| 222 | shape_2_per_frame4=vg=sin(h2*.5)*.5+.5; |
| 223 | shape_2_per_frame5=vb=sin(h2*.1)*.5+.5; |
| 224 | shape_2_per_frame6= |
| 225 | shape_2_per_frame7=g=vg; |
| 226 | shape_2_per_frame8=r=vr; |
| 227 | shape_2_per_frame9=b=vb; |
| 228 | shape_2_per_frame10=g2=g; |
| 229 | shape_2_per_frame11=r2=r; |
| 230 | shape_2_per_frame12=b2=b; |
| 231 | shape_2_per_frame13=dist=(frame%100)*.01; |
| 232 | shape_2_per_frame14=maat=maat+(above(bass_att,1.5)); |
| 233 | shape_2_per_frame15=maat=below(maat,16)*maat; |
| 234 | shape_2_per_frame16=x=if(below(maat,8),if(below(maat,4),dist,1-dist),x); |
| 235 | shape_2_per_frame17=y=if(above(maat,8),if(above(maat,4),dist,1-dist),y); |
| 236 | shapecode_3_enabled=0 |
| 237 | shapecode_3_sides=4 |
| 238 | shapecode_3_additive=0 |
| 239 | shapecode_3_thickOutline=1 |
| 240 | shapecode_3_textured=1 |
| 241 | shapecode_3_num_inst=1 |
| 242 | shapecode_3_x=0.500 |
| 243 | shapecode_3_y=0.500 |
| 244 | shapecode_3_rad=0.36456 |
| 245 | shapecode_3_ang=0.00000 |
| 246 | shapecode_3_tex_ang=0.00000 |
| 247 | shapecode_3_tex_zoom=1.00000 |
| 248 | shapecode_3_r=0.000 |
| 249 | shapecode_3_g=0.000 |
| 250 | shapecode_3_b=0.000 |
| 251 | shapecode_3_a=1.000 |
| 252 | shapecode_3_r2=0.000 |
| 253 | shapecode_3_g2=0.000 |
| 254 | shapecode_3_b2=0.000 |
| 255 | shapecode_3_a2=1.000 |
| 256 | shapecode_3_border_r=0.000 |
| 257 | shapecode_3_border_g=0.000 |
| 258 | shapecode_3_border_b=0.000 |
| 259 | shapecode_3_border_a=0.000 |
| 260 | shape_3_per_frame1= |
| 261 | shape_3_per_frame2=h2=h2+(above(treb,1.32)*0.8)*.9; |
| 262 | shape_3_per_frame3=vr=sin(h2*.8)*.5+.5; |
| 263 | shape_3_per_frame4=vg=sin(h2*.5)*.5+.5; |
| 264 | shape_3_per_frame5=vb=sin(h2*.1)*.5+.5; |
| 265 | shape_3_per_frame6= |
| 266 | shape_3_per_frame7=g=vg; |
| 267 | shape_3_per_frame8=r=vr; |
| 268 | shape_3_per_frame9=b=vb; |
| 269 | shape_3_per_frame10=g2=g; |
| 270 | shape_3_per_frame11=r2=r; |
| 271 | shape_3_per_frame12=b2=b; |
| 272 | shape_3_per_frame13=dist=(frame%100)*.01; |
| 273 | shape_3_per_frame14=maat=maat+(above(bass_att,1.5)); |
| 274 | shape_3_per_frame15=maat=below(maat,16)*maat; |
| 275 | shape_3_per_frame16=y=if(below(maat,8),if(below(maat,4),dist,1-dist),y); |
| 276 | shape_3_per_frame17=x=if(above(maat,8),if(above(maat,4),dist,1-dist),x); |
| 277 | per_frame_init_1=x1 = 0; |
| 278 | per_frame_init_2=y1 = 0; |
| 279 | per_frame_1=chng=sin(time*.5); |
| 280 | per_frame_2=cthr=.9999; |
| 281 | per_frame_3=mq21=if(above(chng,cthr),rand(3),mq21); |
| 282 | per_frame_4=mq22=if(above(chng,cthr),rand(3),mq22); |
| 283 | per_frame_5=mq23=if(above(chng,cthr),rand(3),mq23); |
| 284 | per_frame_6=mq24=if(above(chng,cthr),rand(2),mq24); |
| 285 | per_frame_7=mq25=if(above(chng,cthr),rand(2),mq25); |
| 286 | per_frame_8=mq26=if(above(chng,cthr),rand(2),mq26); |
| 287 | per_frame_9=mq27=if(above(chng,cthr),rand(1),mq27); |
| 288 | per_frame_10=mq28=if(above(chng,cthr),rand(1),mq28); |
| 289 | per_frame_11=mq29=if(above(chng,cthr),rand(1)*.3,mq29); |
| 290 | per_frame_12=mq31=if(above(chng,cthr),rand(1)*.3,mq31); |
| 291 | per_frame_13=monitor=chng; |
| 292 | per_frame_14=q21=mq21;q22=mq22;q23=mq23;q24=mq24;q25=mq25;q26=mq26; |
| 293 | per_frame_15=q27=mq27;q28=mq28;q29=mq29;q31=mq31; |
| 294 | per_frame_16= |
| 295 | per_frame_17=monitor=mq1; |
| 296 | per_frame_18=vol=bass+treb+mid; |
| 297 | per_frame_19=atime=atime+vol; |
| 298 | per_frame_20=q11=.4+sin(atime*.006 )*.4; |
| 299 | per_frame_21=q12=.4+cos(atime*.00613828348)*.4; |
| 300 | per_frame_22=q13=.4+sin(atime*.00598593455)*.4; |
| 301 | per_frame_23=monitor=q13; |
| 302 | per_frame_24= |
| 303 | per_frame_25=vvb =max(0,min(1,vvb)); |
| 304 | per_frame_26=vvm =max(0,min(1,vvm)); |
| 305 | per_frame_27=vvt =max(0,min(1,vvt)); |
| 306 | per_frame_28=vb = vb*0.85 + (1-vb)*pow(bass,2)*0.01; |
| 307 | per_frame_29=vvb = vvb*0.95 + (1-vvb)*vb*0.2; |
| 308 | per_frame_30=vm = vm*0.85 + (1-vm)*pow(mid,2)*0.01; |
| 309 | per_frame_31=vvm = vvm*0.95 + (1-vvm)*vm*0.2; |
| 310 | per_frame_32=vt = vt*0.85 + (1-vt)*pow(treb,2)*0.01; |
| 311 | per_frame_33=vvt = vvt*0.95 + (1-vvt)*vt*0.2; |
| 312 | per_frame_34= |
| 313 | per_frame_35=q1 = vvb;//0.5 + vb - vvb; |
| 314 | per_frame_36=q2 = vvm;//0.5 + vm - vvm; |
| 315 | per_frame_37=q3 = vvt;//0.5 + vt - vvt; |
| 316 | per_frame_38= |
| 317 | per_frame_39=v=0.08*(60/fps); |
| 318 | per_frame_40=d = v*0.35; |
| 319 | per_frame_41=bb = bb + vvb*v - d; |
| 320 | per_frame_42=mm = mm + vvm*v - d; |
| 321 | per_frame_43=tt = tt + vvt*v - d; |
| 322 | per_frame_44=q6 = bb; |
| 323 | per_frame_45=q5 = mm; |
| 324 | per_frame_46=q4 = tt; |
| 325 | per_frame_47=zoom = 0.995; |
| 326 | per_frame_48=q9 = 0.8; |
| 327 | per_frame_49=q10 = 0.88 + vt - vb; |
| 328 | per_pixel_1=n=15; |
| 329 | per_pixel_2=t = q5*2-4; |
| 330 | per_pixel_3=w= q4-q6; |
| 331 | per_pixel_4=v = 10; |
| 332 | per_pixel_5=X2 = x-0.5; |
| 333 | per_pixel_6=Y2 = y-0.5; |
| 334 | per_pixel_7=X1 = sin(w)*X2 -cos(w)*Y2; |
| 335 | per_pixel_8=Y1 = cos(w)*X2 +sin(w)*Y2; |
| 336 | per_pixel_9=x = X1; |
| 337 | per_pixel_10=y = Y1; |
| 338 | per_pixel_11=dx1 = 0.01*(cos((-x+y)*n+t) + sin((x+y)*n+t)); |
| 339 | per_pixel_12=dy1 = 0.01*(cos((x-y)*n-t) + sin((-x-y)*n-t)); |
| 340 | per_pixel_13=dx2 = sin(-w)*dx1 - cos(-w)*dy1; |
| 341 | per_pixel_14=dy2 = cos(-w)*dx1 + sin(-w)*dy1; |
| 342 | per_pixel_15=dx = v*dx2; |
| 343 | per_pixel_16=dy = v*dy2; |
| 344 | warp_1=`shader_body |
| 345 | warp_2=`{ |
| 346 | warp_3=` // PAINTERLY EFFECT: |
| 347 | warp_4=` float2 uv2 = uv; |
| 348 | warp_5=` const float mipbias = 0; |
| 349 | warp_6=` float2 delta2 = texsize.zw*float2(1,1); |
| 350 | warp_7=` float3 blurry_color = tex2D( sampler_main, uv2 + delta2 ).xyz; |
| 351 | warp_8=` uv2.xy += (blurry_color.xy-0.37) * 0.01; |
| 352 | warp_9=` |
| 353 | warp_10=` // sample previous frame |
| 354 | warp_11=` ret = tex2D( sampler_main, uv2 ).xyz; |
| 355 | warp_12=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 356 | warp_13=` ((uv2.xyy*q27 |
| 357 | warp_14=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 358 | warp_15=` ).xyz* |
| 359 | warp_16=` float3(1,1,0)*0.05 + |
| 360 | warp_17=` time*float3(0,0,1)*q29 |
| 361 | warp_18=` ); |
| 362 | warp_19=`if(ret.x> q21*q13 && ret.x<= q24*q11 )ret.y -= (noise9).x*.5; |
| 363 | warp_20=`if(ret.y> q22*q11 && ret.y<= q25*q12 )ret.z -= (noise9).y*.5; |
| 364 | warp_21=`if(ret.z> q23*q12 && ret.z<= q26*q13 )ret.x -= (noise9).z*.5; |
| 365 | warp_22=` |
| 366 | warp_23=` ret += (tex2D(sampler_noise_lq, uv_orig*4 + rand_frame.xy)*2-1)*0.02; |
| 367 | warp_24=` |
| 368 | warp_25=` float ang2 = atan2(uv_orig.y-0.5,uv_orig.x-0.5); |
| 369 | warp_26=` ret += ( cos(ang2*17 + time*12 + lum(ret)*0) )*0.15; |
| 370 | warp_27=` |
| 371 | warp_28=` // darken over time |
| 372 | warp_29=` //ret -= 0.004; |
| 373 | warp_30=`} |
| 374 | comp_1=`shader_body |
| 375 | comp_2=`{ |
| 376 | comp_3=` uv = 0.05 + 0.9*uv; |
| 377 | comp_4=` |
| 378 | comp_5=` // equivalent of a laplacian: [center*4 - each of the 4 neighbors*1] |
| 379 | comp_6=` ret = 0; |
| 380 | comp_7=` ret += tex2D(sampler_main, uv ).xyz*4; |
| 381 | comp_8=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 382 | comp_9=` ((uv.xyy*q28 |
| 383 | comp_10=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 384 | comp_11=` ).xyz* |
| 385 | comp_12=` float3(1,1,0)*0.05 + |
| 386 | comp_13=` time*float3(0,0,1)*q31 |
| 387 | comp_14=` ); |
| 388 | comp_15=`if(ret.x> q26*q13 && ret.x<= q23*q11 )ret.z -= (noise9).x*.5; |
| 389 | comp_16=`if(ret.y> q25*q11 && ret.y<= q22*q12 )ret.x -= (noise9).y*.5; |
| 390 | comp_17=`if(ret.z> q24*q12 && ret.z<= q21*q13 )ret.y -= (noise9).z*.5; |
| 391 | comp_18=` ret -= GetBlur1(uv)*4; |
| 392 | comp_19=`ret *= -1; |
| 393 | comp_20=` |
| 394 | comp_21=` // little bit of noise: |
| 395 | comp_22=` //ret *= 1 + 0.12*(tex2D(sampler_noise_lq, rand_frame.xy |
| 396 | comp_23=` // + uv*texsize.xy*texsize_noise_lq.zw).xxx*2-1); |
| 397 | comp_24=` |
| 398 | comp_25=` // palettize: |
| 399 | comp_26=` ret = pow(ret, float3(0.5, 0.5, 0.7)); |
| 400 | comp_27=` |
| 401 | comp_28=` ret = (ret-0.1)*1.1; |
| 402 | comp_29=` |
| 403 | comp_30=` //ret.xyz *= 2; // a little bit of overbright |
| 404 | comp_31=`} |
| 405 | comp_32=` |
| 406 | comp_33=` |